<?php
	/**
	 * Value object representation of a system avatar.
	 */
	class AvatarVO {
		
		var $_explicitType="vo.AvatarVO";
		
		/** The unique ID of the avatar. */
		var $avatarUID;
		
		/** The name of the avatar. */
		var $avatarName;
		
		/** A short description of the avatar. */
		var $description;
		
		/** Creates a new instance of a AvatarVO. */
		public function AvatarVO() {}
		
		/**
		 * Maps a database record to a AvatarVO.
		 * @param $row The record to map to a AvatarVO.
		 * @return A new mapped instance of a AvatarVO.
		 */
		public static function mapObject($row) {
			
			$vo = new AvatarVO();
			
			$vo->avatarUID 		= $row["avatarUID"];
			$vo->avatarName 	= $row["avatarName"];
			$vo->description 	= $row["description"];
			
			return $vo;
		}
	}
?>